package hjw.com.entity;

/**
 * <p>Project:Academic - Type
 *
 * @author IvanWei玮 -- maste
 * @version 1.0
 * @DataTime 2025/1/20 16:53
 * @since 1.8
 */
public class Type {
    private int id;
    private String name;
    private int pid;
    private int prio;
    private int isdel;

    public Type() {
        this.id = 0;
        this.name = "";
        this.pid = 0;
        this.prio = 0;
        this.isdel = 0;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public int getPrio() {
        return prio;
    }

    public void setPrio(int prio) {
        this.prio = prio;
    }

    public int getIsdel() {
        return isdel;
    }

    public void setIsdel(int isdel) {
        this.isdel = isdel;
    }

    @Override
    public String toString() {
        return "Type{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", pid=" + pid +
                ", prio=" + prio +
                ", isdel=" + isdel +
                '}';
    }
}
